package com.gitee.zycra.future.job.common.config;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author zycra
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@Configuration
@ConfigurationProperties(prefix = "encrypt")
public class EncryptConfig {

    /**
     * RSA私钥
     */
    private String privateKey;

    /**
     * RSA公钥
     */
    private String publicKey;

    /**
     * token加密密钥
     */
    private String tokenKey;
}
